<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>博客管理-博客列表</title>
    <link rel="stylesheet" href="../static/lib/semantic-ui/semantic.min.css">
    <link rel="stylesheet" href="../static/css/style.css">
</head>
<body>
<!--导航start-->
<nav class="ui attached inverted segment padded-tb-mini shadow-small">
    <div class="ui container">
        <div class="ui menu inverted secondary stackable">
            <h2 class="ui header teal item">管理后台</h2>
            <a href="#" class="active item mobile-hide m-item"><i class="small icon home"></i>博客</a>
            <a href="#" class="item mobile-hide m-item"><i class="small icon idea"></i>分类</a>
            <a href="#" class="item mobile-hide m-item"><i class="small icon tags"></i>标签</a>
            <div class="right menu m-item mobile-hide">
                <div class="ui item dropdown">
                    <div class="text">
                        <img src="https://picsum.photos/id/1005/100/100" class="ui avatar image">
                        多俊睿
                    </div>
                    <i class="dropdown icon"></i>
                    <div class="menu">
                        <a href="#" class="item">注销</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <a href="#" class="ui button icon black button-right-top mobile-show menu toggle">
        <i class="icon sidebar"></i>
    </a>
</nav>
<!--导航end-->

<!--二级导航条start-->
<div class="ui menu attached pointing">
    <div class="ui container">
        <div class="right menu">
            <a href="#" class="item">发布新博客</a>
            <a href="#" class="active item teal">博客列表</a>
        </div>
    </div>
</div>
<!--二级导航条end-->


<!--中间内容start-->
<div class="padded-tb-large container-small">
    <div class="ui container">
        <form action="#" method="post" class="ui segment form">
            <div class="inline fields">
                <div class="field">
                    <input type="text" name="title" placeholder="标题">
                </div>
                <div class="field">
                    <div class="ui selection dropdown">
                        <input type="hidden" name="type">
                        <i class="dropdown icon"></i>
                        <div class="default text">分类</div>
                        <div class="menu">
                            <div class="item" data-value="1">错误日志</div>
                            <div class="item" data-value="2">开发者手册</div>
                            <div class="item" data-value="3">温故而知新</div>
                        </div>
                    </div>
                </div>
                <div class="field">
                    <div class="ui checkbox">
                        <input type="checkbox" name="recommend" id="recommend">
                        <label for="recommend">推荐</label>
                    </div>
                </div>
                <div class="field">
                    <button class="ui tiny teal basic button">
                        <i class="search icon"></i>搜索
                    </button>
                </div>
            </div>
        </form>

        <table class="ui table celled center aligned">
            <thead>
            <tr>
                <th>序号</th>
                <th>标题</th>
                <th>类型</th>
                <th>推荐</th>
                <th>更新时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>1</td>
                <td class="left aligned">刻意练习清单</td>
                <td>认知升级</td>
                <td>是</td>
                <td>2019-08-07 09:32</td>
                <td>
                    <a href="#" class="ui mini teal basic button">编辑</a>
                    <a href="#" class="ui mini red basic button">删除</a>
                </td>
            </tr>

            <tr>
                <td>2</td>
                <td class="left aligned">OAuth2授权码模式认证实践讲解</td>
                <td>认知升级</td>
                <td>是</td>
                <td>2019-08-07 16:32</td>
                <td>
                    <a href="#" class="ui mini teal basic button">编辑</a>
                    <a href="#" class="ui mini red basic button">删除</a>
                </td>
            </tr>
            </tbody>
            <tfoot>
            <tr>
                <th colspan="6">
                    <div class="ui pagination tiny menu left floated">
                        <a class="item">上一页</a>
                        <a class="item">下一页</a>
                    </div>
                    <a href="#" class="ui tiny green basic button right floated">新增</a>
                </th>
            </tr>
            </tfoot>
        </table>
    </div>
</div>
<!--中间内容end-->
<br>
<br>
<br>
<!--底部start-->
<footer class="ui segment inverted vertical padded-tb-massive">
    <div class="ui container center aligned">
        <div class="ui grid inverted divided stackable">
            <div class="three wide column">
                <div class="ui inverted link list">
                    <div class="item">
                        <img src="../static/images/github.png" class="ui image rounded" alt="Github二维码"
                             style="width: 110px">
                    </div>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header text-lined text-spaced text-thin">最新博客</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">用户故事（User Story）</a>
                    <a href="#" class="item">关于刻意练习的清单</a>
                    <a href="#" class="item">失败要趁早</a>
                </div>
            </div>
            <div class="three wide column">
                <h4 class="ui inverted header text-lined text-spaced text-thin">联系我</h4>
                <div class="ui inverted link list">
                    <a href="#" class="item">Email：duojunrui@163.com</a>
                    <a href="#" class="item">QQ: 1358528202</a>
                    <a href="#" class="item">WeChat: djr1119</a>
                </div>
            </div>
            <div class="seven wide column">
                <h4 class="ui inverted header text-lined text-spaced text-thin">Blog</h4>
                <p class="text-lined text-spaced text-thin opacity-mini">
                    这是我的个人博客，会分享关于编程、写作、思考相关的任何内容，希望可以给来到这儿的人有所帮助...</p>
            </div>
        </div>
        <div class="ui inverted section divider"></div>
        <p class="text-lined text-spaced text-thin opacity-tiny">Copyright © 2019-2020 Duojunrui Designed by
            Duojunrui</p>
    </div>
</footer>
<!--底部end-->

<script src="../static/lib/jquery/jquery-3.4.1.min.js"></script>
<script src="../static/lib/semantic-ui/semantic.min.js"></script>

<script>
    /*---手机导航栏隐藏和展开----*/
    $('.menu.toggle').click(function () {
        $('.m-item').toggleClass('mobile-hide');
    });

    $('.ui.dropdown').dropdown();
</script>
</body>
</html>